package org.jugile.jsontmpl.domain;

import org.jugile.jsontmpl.common.*;
import org.jugile.util.Node;

public class Include extends IncludeBase implements org.jugile.util.IDO {

	public void parse(Ctx ctx, Node n) {
		setFname(n.attr("fname"));
		setFlds(n.attr("flds"));
	}
	
	public Node toXml() {
		Node n = new Node("include");
		n.attr("fname", getFname());
		n.attr("flds", getFlds());
		return n;
	}
	
}